﻿<%@ Page Title="Applicant Apply to Vacancy" Language="C#" MasterPageFile="~/Employee/MasterPageEmployee.master" AutoEventWireup="true" CodeFile="HRApplicantApplyVacancy.aspx.cs" Inherits="Employee_ApplicantApplyVacancy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentmain" Runat="Server">
    <div id="MainApplyVacancy">
        <h2>List of Applicant apply to the vacancy</h2>
        <div id="Search">
            
            <asp:TextBox ID="txtSearch" runat="server" 
                ToolTip="Enter Name or ID of Applicant" Width="200px"></asp:TextBox>
            <asp:DropDownList ID="ddlTypeSearch" runat="server">
                <asp:ListItem>Name</asp:ListItem>
                <asp:ListItem>ID</asp:ListItem>
            </asp:DropDownList>
            <asp:Button ID="btnSearch" runat="server" Height="25px" Text="Search" 
                Width="70px" onclick="btnSearch_Click" />
        </div>
        <div id="DivData">
            <asp:Button ID="btnDisplay" runat="server" Text="Applicant Satisfactory" CssClass="btndisplayappSatisfactory"
                ToolTip="Show applicany satisfactory" onclick="btnDisplay_Click" />
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                Width="700px" BackColor="White" BorderColor="#3366CC" 
                BorderWidth="1px" CellPadding="3" AllowPaging="True" AllowSorting="True" 
                onpageindexchanging="GridView1_PageIndexChanging" PageSize="20" 
                BorderStyle="None" ShowHeaderWhenEmpty="True">
                <Columns>
                    <asp:TemplateField HeaderText="ID">
                        <ItemTemplate>
                            <a href="HRApplicantInformation.aspx?ID=<%#  Eval("ApplicantID") %>"><asp:Label ID="lblApplicant" runat="server" Text='<%# Eval("ApplicantID") %>'></asp:Label></a>
                        </ItemTemplate>
                        <ItemStyle Width="50px" Font-Size="12px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="FullName">
                        <ItemTemplate>
                            <a href="HRApplicantInformation.aspx?ID=<%#  Eval("ApplicantID") %>"><asp:Label ID="lblFullName" runat="server" Text='<%# Eval("FullName") %>'></asp:Label></a>
                        </ItemTemplate>
                        <ItemStyle Width="150px" Font-Size="12px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Education">
                        <ItemTemplate>
                            <asp:Label ID="lblEducation" runat="server" Text='<%# Eval("Education") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle Width="200px" Font-Size="12px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Languages">
                        <ItemTemplate>
                            <asp:Label ID="lblForeignLanguages" runat="server" Text='<%# Eval("ForeignLanguages") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle Width="150px" Font-Size="12px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="WorkExperience">
                        <ItemTemplate>
                            <asp:Label ID="lblWorkExperience" runat="server" Text='<%# Eval("WorkExperience") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle Width="150px" Font-Size="12px" />
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                <PagerStyle BackColor="#C1C1FF" HorizontalAlign="Center" 
                    Wrap="True" BorderColor="#000066" Font-Bold="True" Font-Names="Calibri" 
                    Font-Size="14px" Font-Underline="True" VerticalAlign="Middle" />
                <RowStyle BackColor="White" ForeColor="#003399" />
                <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                <SortedAscendingCellStyle BackColor="#EDF6F6" />
                <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                <SortedDescendingCellStyle BackColor="#D6DFDF" />
                <SortedDescendingHeaderStyle BackColor="#002876" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>

